<template>
  <main-dialog
      v-model="dialogVisible"
      show-fullscreen
      title="测试title"
      width="600px"
  >
    我是内容展示
    <template #footer>
      <el-button @click="dialogVisible = false">取 消</el-button>
      <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
    </template>
  </main-dialog>
</template>

<script setup>
import {ref, defineExpose} from 'vue'
import MainDialog from './dialog/index.vue'


const dialogVisible = ref(false)
defineExpose({
  dialogVisible
})
</script>

<style></style>

